package com.world.request.dto;


/**
 * 分页请求
 *
 * @author 邓驴
 * @date 2023/5/13 17:11
 **/
public class PageBaseRequest {

    /**
     * 当前页
     */
    private Long current = 1L;

    /**
     * 每页显示条数，默认 10
     */
    private Long size = 10L;


    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "PageBaseRequest{" +
                "current=" + current +
                ", size=" + size +
                '}';
    }
}

